package io.github.topcatv.mall.model.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.github.topcatv.mall.model.sys.entity.Role;

import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuyi
 * @since 2019-10-14
 */
public interface IRoleService extends IService<Role> {

    Set<Role> selectByUserId(Integer id);

    void addPermissions(Integer id, Integer[] permissionIds);
}
